import React from 'react';
import { Table } from 'antd';

export default class TableCop extends React.Component {
  render() {
    const { rowKey, columns, dataSource } = this.props;
    return (
      <div>
        <Table rowKey={rowKey} columns={columns} dataSource={dataSource} />
      </div>
    );
  }
}